/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package generales;

import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.PrintWriter;

/**
 *
 * @author Duoc
 */
public class Log {

    public static void rutea(String msg) {
        PrintWriter writer;
        try {
            writer = new PrintWriter(new BufferedWriter(new FileWriter("C:/log.txt",true)));
            writer.write("---------------");
            writer.write(msg);
            writer.write("---------------");
            writer.close();
        } catch (Exception e) {
        }

    }
}
